import request from "@/utils/request";

//添加翻身项目
export function add(data) {
  return request({
    url: "/sinohis/pension/sys/institutionalsetting/setOrganTurnOverItem",
    method: 'put',
    data

  });

}

//添加常用标签
export function addlabel(data) {
  return request({
    url: "/sinohis/pension/sys/dictionary/addlabel",
    method: 'post',
    data

  });

}
//查询常用的标签

export function searchLabels(params) {
  return request({
    url: "/sinohis/pension/sys/dictionary/findLabels/"+params.label,
    method: 'get',
    params

  });

}
//查询机构下的翻身项目

export function findOrganTurnOverItem(params) {
  return request({
    url: "/sinohis/pension/sys/institutionalsetting/findOrganTurnOverItem/"+params.institutionNumber,
    method: 'get',
    params

  });

}
